<?php get_header(); ?>

<!-- container start -->
	<div id="container">

<!-- sidebar start -->
<?php get_sidebar(); ?>
<!-- sidebar end -->

<!-- content start -->
        <div id="content">

    <?php if(have_posts()) : ?>
      <?php while(have_posts()) : the_post(); ?>
            <div class="post">
              <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
              <div class="entry">
               	<p class="postmetadata"><?php the_time('F jS, Y') ?> | Posted by <?php the_author(); ?></p>
                <?php the_content(); ?>
                <div class="endline"></div>
                <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
              </div>
        <div class="comments-template">
						<?php 
							if (function_exists('wp_list_comments')) {
								comments_template('/comments.php', true);
							}
							else {
								comments_template('/comments-old.php');
							}
						?>
        </div>

            </div>
      <?php endwhile; ?>
      <div class="quickjump">
	<div class="jumpleft"><?php previous_post_link('%link') ?></div>
	<div class="jumpright"><?php next_post_link('%link') ?></div>
      </div>
      <?php else : ?>
        <div class="notfound">
          <h2>Post Not Found!</h2><br /><h2>Please try again.</h2>
        </div>
    <?php endif; ?>

        </div>
<!-- content end -->

<?php get_footer(); ?>